package com.ruoyi.bantong.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 席位卡玩法配置对象 bt_placecard_config
 * 
 * @author laohei
 * @date 2021-01-24
 */
public class BtPlacecardConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户等级 */
    @Excel(name = "用户等级")
    private Integer userLevel;

    /** 玩法人数 */
    @Excel(name = "玩法人数")
    private Integer playCount;

    /** 中奖人数 */
    @Excel(name = "中奖人数")
    private Integer winCount;

    /** 开奖公布间隔（分钟） */
    @Excel(name = "开奖公布间隔", readConverterExp = "分=钟")
    private Integer openInterval;

    /** 审核时间间隔 (小时) */
    private Integer checkInterval;

    public void setUserLevel(Integer userLevel) 
    {
        this.userLevel = userLevel;
    }

    public Integer getUserLevel() 
    {
        return userLevel;
    }
    public void setPlayCount(Integer playCount) 
    {
        this.playCount = playCount;
    }

    public Integer getPlayCount() 
    {
        return playCount;
    }
    public void setWinCount(Integer winCount) 
    {
        this.winCount = winCount;
    }

    public Integer getWinCount() 
    {
        return winCount;
    }
    public void setOpenInterval(Integer openInterval) 
    {
        this.openInterval = openInterval;
    }

    public Integer getOpenInterval() 
    {
        return openInterval;
    }

    public Integer getCheckInterval() {
        return checkInterval;
    }

    public void setCheckInterval(Integer checkInterval) {
        this.checkInterval = checkInterval;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userLevel", getUserLevel())
            .append("playCount", getPlayCount())
            .append("winCount", getWinCount())
            .append("openInterval", getOpenInterval())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
